package com.cfswt.tasksystem.pojo.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.autoconfigure.web.WebProperties;

import java.util.Date;

@Data
@Accessors(chain = true)
public class User {
    private Integer id;
    private String userName;
    private String nickName;
    private String password;
    private Integer isAdmin;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String avatar;
    private String email;
    private String mobile;
    private Integer score;
    private Integer status;
    private String depId;
    private String roleId;
}
